﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GoodsInfo.aspx.cs" Inherits="Manage_GoodsInfo" %>


<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>审核商品</title>
    <link href="../styles/css.css" rel="stylesheet" type="text/css" />
    <link href="../styles/global.css" rel="stylesheet" type="text/css" />

    <script language="vbscript" src="../Common/yz.vbs"></script>

    <script language="javascript">

        function Sel() {
            //  window.alert("11");
            window.open('GoodsAdd_CompanySearch.aspx');
        }
        function confirmvalue(obj) {
            document.all("txtIsSalerId").value = obj.companyid;
            document.all("txtCompany").value = obj.companyName;
        }


        function Sel_dl() {
            //  window.alert("11");
            window.open('GoodsAdd_CompanySearch_dl.aspx?flag=1');
        }
        function Sel_dlsc() {
            //  window.alert("11");
            window.open('GoodsAdd_CompanySearch_dl.aspx?flag=0');
        }


        function confirmvalue_dl(obj) {

            document.all("txtIsSalerId_dl1").value = obj.companyid;
            document.all("txtCompany_dl").value = obj.companyName;
        }
        function confirmvalue_dlsc(obj) {

            document.all("txtIsSalerId").value = obj.companyid;
            document.all("txtCompany").value = obj.companyName;
        }


        function chk() {
            if (document.all("chkIsImport").checked == false) {
                table1.style.display = 'none';
            }
            else {
                table1.style.display = 'block';
            }
        }
        function chk2() {
            if (document.all("chkIsSurveyReport").checked == false) {
                table22.style.display = 'none';
            }
            else {
                table22.style.display = 'block';
            }
        }

        function addEvent() {
            var rbl = document.getElementsByName("rdoQualityLevels");
            for (var i = 0; i < rbl.length; i++) {
                rbl[i].setAttribute("onclick", new Function("chk()"));
            }

        } 
        function chk() {
            if (document.all.rdoQualityLevels_0.checked) //第一质量层次
            { document.getElementById("lableshow").innerHTML = "第一质量层次： 专利保护期内的化合物专利药品和药物组合物专利药品；获得国家科技进步奖的药品" }
            else if (document.all.rdoQualityLevels_1.checked)//第二质量层次
            { document.getElementById("lableshow").innerHTML = "第二质量层次： 发改委公布的单独定价药品和优质优价中成药" }
            else if (document.all.rdoQualityLevels_2.checked)//第三质量层次
            { document.getElementById("lableshow").innerHTML = "第三质量层次： 专利保护期内的工艺流程发明专利药品（含剂型专利药品）；过保护期的（化合物、药物组合物）专利药品；进口药品；获得美国ＦＤＡ认证或欧盟ＣＥ、ＣＧＭＰ认证的药品；质量标准起草单位的药品（含原研药品和首仿国外药品）" }
            else if (document.all.rdoQualityLevels_3.checked)//第四质量层次
            { document.getElementById("lableshow").innerHTML = "第四质量层次： 通过GMP认证的其他药品" }
        }  
    </script>

</head>
<body onload="addEvent()">
    <form id="Form1" runat="server">

    <script language="javascript" src="../common/javascript/calendar.js" type="text/javascript"></script>

    <div>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td style="width: 4px">
                    <img src="../images/intro_left.gif" width="4" height="34">
                </td>
                <td class="intro_wordbg">
                    <asp:Label ID="lbltitle" runat="server" Text="审核商品"></asp:Label>
                </td>
                <td background="../images/intro_bg.gif">
                    <img src="../images/intro_right.jpg" width="118" height="34">
                </td>
            </tr>
        </table>
        <asp:Panel ID="pnl" runat="server">
            <table border="1" class="list" cellpadding="1" cellspacing="1" width="100%" style="background-color: #F2F9FD;"
                id="tabData">
                <tr>
                    <td class="td_left_20">
                        通用名：
                    </td>
                    <td class="td_right_30">
                        <asp:TextBox ID="labProductName" runat="server" Text="" CssClass="txtbox_200" InvertedComma="通用名"
                            NotNull="通用名"></asp:TextBox>
                        <span style="color: #ff0033">(*)</span>
                    </td>
                    <td class="td_left_20">
                        商品名：
                    </td>
                    <td class="td_right_30">
                        <asp:TextBox runat="server" ID="txtGoodsName" InvertedComma="商品名" CssClass="txtbox_200"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td_left_20">
                        剂型：
                    </td>
                    <td class="td_right_30">
                        <asp:TextBox ID="labMedicinemodel" runat="server" Text="" CssClass="txtbox_200" NotNull="剂型"
                            InvertedComma="剂型"></asp:TextBox>
                        <span style="color: #ff0033">(*)</span>
                    </td>
                    <td class="td_left_20">
                        规格：
                    </td>
                    <td class="td_right_30">
                        <asp:TextBox ID="labOutlookc" runat="server" Text="" CssClass="txtbox_200" NotNull="规格"
                            InvertedComma="规格"></asp:TextBox>
                        <span style="color: #ff0033">(*)</span>
                    </td>
                </tr>
                <tr>
                    <td class="td_left_20">
                       制剂单位：
                    </td>
                    <td class="td_right_30">
                        <asp:TextBox ID="labUnit" runat="server" Text="" CssClass="txtbox_200" NotNull="单位"
                            InvertedComma="单位"></asp:TextBox>
                        <span style="color: #ff0000">(*)<br />
                        例：片剂&nbsp; 最小包装是 10片/板×2板/盒 制剂单位是 片.</span>
                    </td>
                    <td class="td_left_20">
                        转换系数：
                    </td>
                    <td class="td_right_30">
                        <asp:TextBox runat="server" ID="txtFactor" Text="" CssClass="txtbox_200" NotNull="转换系数"
                            NumericOnly="转换系数" InvertedComma="转换系数" DYL="转换系数"></asp:TextBox>
                        <span style="color: #ff0000">(*)<br />
                        例：片剂&nbsp; 最小包装是 10片/板×2板/盒 转换系数就是 20.</span>
                    </td>
                </tr>
                <tr>
                    <td class="td_left_20">
                        生产企业：
                    </td>
                    <td class="td_right_30">
                        <asp:TextBox ID="txtCompany" runat="server" ReadOnly="true" CssClass="txtbox_200"
                            NotNull="生产企业" InvertedComma="生产企业"></asp:TextBox>
                        <span style="color: #ff0000">(*)</span>
                        <%--<asp:Button ID="btnSc" runat="server" CssClass="button_100" Text="选择生产企业" OnClientClick="Sel_dlsc()" />--%>
                        <div runat="server" id="choose">
                            <input id="Button1" runat="server" type="button" value="选择生产企业" class="button_100"
                                onclick='Sel_dlsc()' /></div>
                        <asp:HiddenField ID="txtIsSalerId" runat="server" />
                    </td>
                    <td class="td_left_20">
                        企业商品说明书名称：
                    </td>
                    <td class="td_right_30" title="按商品说明书上的药品名称填写。必须要和商品说明书上的名字一致。">
                        <asp:TextBox ID="txtProductNameSM" runat="server" InvertedComma="企业商品说明书名称" NotNull="企业商品说明书名称"
                            CssClass="txtbox_200"></asp:TextBox>
                        <span style="color: #ff0000">(*)</span>
                    </td>
                </tr>
                <tr>
                    <td class="td_left_20">
                        批准文号：
                    </td>
                    <td class="td_right_30" title="如果是进口药品无需填写，其它药品必须填写。">
                        <asp:TextBox runat="server" ID="txtLicenseNumber" InvertedComma="批准文号" CssClass="txtbox_200" NotNull="批准文号" ></asp:TextBox>
                        <span style="color: #ff0000">(*)</span>
                    </td>
                    <td class="td_left_20">
                        批准文号有效期：
                    </td>
                    <td class="td_right_30" title="如果无有效期，请在“商品说明”中详细注明。">
                        <asp:TextBox runat="server" ID="txtLicenseNumberDate" onclick="javascript:fPopCalendar(txtLicenseNumberDate,txtLicenseNumberDate);"
                            UNSELECTABLE="on" dataType="Date" format="ymd" require="true" DateTimeOnly="批准文号有效期" NotNull="批准文号有效期"
                            EnableViewState="false" CssClass="txtbox_200"></asp:TextBox>
                        <span style="color: #ff0000">(*)</span>
                    </td>
                </tr>
                <tr>
                    <td class="td_left_20">
                        有无药品检验报告：
                    </td>
                    <td class="td_right_30">
                        <asp:CheckBox ID="chkIsSurveyReport" runat="server" Text="有" onclick="javascript:chk2()" /><br />
                        <table border="1" id="table22" style='display: <%=strbb %>'>
                            <tr>
                                <td class="td_left_40">
                                    <asp:Label ID="Label1" runat="server" Text="药检报告编号："></asp:Label>
                                </td>
                                <td class="td_right_60" title="市级或市级以上药检所">
                                    <asp:TextBox ID="txtSurveyReportId" runat="server" CssClass="txtbox_200" InvertedComma="药品检验报告编号"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="td_left_40">
                                    <asp:Label ID="Label2" runat="server" Text="药检报告有效期："></asp:Label>
                                </td>
                                <td class="td_right_60">
                                    <asp:TextBox ID="txtSurveyReportDate" runat="server" CssClass="txtbox_200" onclick="javascript:fPopCalendar(txtSurveyReportDate,txtSurveyReportDate);"
                                        UNSELECTABLE="on" dataType="Date" format="ymd" require="true" DateTimeOnly="药品检验报告有效期"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td class="td_left_20">
                        是否进口药：
                    </td>
                    <td class="td_right_30">
                        <asp:CheckBox ID="chkIsImport" Text="是" runat="server" onclick="javascript:chk()" /><br />
                        <table id="table1" style='display: none' border="1">
                            <tr>
                                <td class="td_right_60" colspan="2">
                                    <asp:TextBox ID="txtCompany_dl" runat="server" ReadOnly="true" CssClass="txtbox_200"></asp:TextBox>
                                    <asp:TextBox ID="txtIsalerId_dL" runat="server" ReadOnly="true" Visible="false"></asp:TextBox>
                                    <div runat="server" id="Div1">
                                        <input id="Button3" type="button" value="选择一级代理商" class="button_100" onclick='Sel_dl()' />
                                    </div>
                                    <input id="Hidden2" name="txtIsSalerId_dl1" type="hidden" />
                                </td>
                            </tr>
                            <tr>
                                <td class="td_left_40">
                                    进口药品注册证号：
                                </td>
                                <td class="td_right_60">
                                    <asp:TextBox runat="server" ID="txtImportCode" InvertedComma="进口药品注册证号" CssClass="txtbox_200"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="td_left_40">
                                    进口药品注册证有效期限：
                                </td>
                                <td class="td_right_60">
                                    <asp:TextBox runat="server" ID="txtImportRegistDate" onclick="javascript:fPopCalendar(txtImportRegistDate,txtImportRegistDate);"
                                        UNSELECTABLE="on" dataType="Date" format="ymd" require="true" DateTimeOnly="进口药品注册证有效期限"
                                        CssClass="txtbox_200"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="td_left_20">
                        材质：
                    </td>
                    <td class="td_right_30">
                        <asp:TextBox runat="server" ID="txtMaterial" InvertedComma="材质" CssClass="txtbox_200"></asp:TextBox>
                    </td>
                    <td class="td_left_20">
                        包装单位：
                    </td>
                    <td class="td_right_30">
                        <asp:TextBox runat="server" ID="txtPackUnit" InvertedComma="包装单位" CssClass="txtbox_200"></asp:TextBox>
                        <span style="COLOR: #ff0000">(*)<br />
                        例：片剂&nbsp; 最小包装是 10片/板×2板/盒 包装单位就是 盒.</span>
                    </td>
                </tr>
                <tr>
                    <td class="td_left_20">
                        最新零售价：
                    </td>
                    <td class="td_right_30">
                        <asp:TextBox runat="server" ID="txtRetailPrice" NumericOnly="最新零售价" NotNull="最新零售价"
                             CssClass="txtbox_200"></asp:TextBox>
                        <span style="color: #ff0033">(*)</span>
                    </td>
                    <td class="td_left_20">
                        零售价出处：
                    </td>
                    <td class="td_right_30">
                        <asp:TextBox runat="server" ID="txtMemo4" InvertedComma="零售价出处" NotNull="零售价出处" CssClass="txtbox_200"></asp:TextBox>
                        <span style="COLOR: #ff0000">(*)</span></td>
                </tr>
                <tr>
                    <%--<td class="td_left_20">
                    GMP证书：
                </td>
                <td class="td_right_30">
                    认证编号：<asp:TextBox runat="server" ID="txtGmpCode"></asp:TextBox>
                             截止日期：<asp:TextBox
                        runat="server" ID="txtGmpValDate" onclick="javascript:fPopCalendar(txtGmpValDate,txtGmpValDate);"
                        dataType="Date" format="ymd" require="true"></asp:TextBox>
                </td>--%>
                    <td class="td_left_20">
                        最新零售价截止时间：
                    </td>
                    <td class="td_right_30">
                        <asp:TextBox ID="txtjz" runat="server" onclick="javascript:fPopCalendar(this,this);"
                            dataType="Date" format="ymd" require="true" msg="日期不存在" CssClass="txtbox_200"></asp:TextBox>
                    </td>
                    <td class="td_left_20">
                        医保类型：
                    </td>
                    <td class="td_right_30">
                        <asp:RadioButtonList ID="rbtnYb" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem Value="0" Selected="True">非医保</asp:ListItem>
                            <asp:ListItem Value="1">医保</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr  >
                    <td class="td_left_20">
                        药品质量层次：
                    </td>
                    <td class="td_right_80" colspan="3">
                     <table width="98%" border="0" cellpadding="2" cellspacing="1" class="table_table2">
                        <tr>
                            <td class="td_center" colspan="2">
                                <asp:RadioButtonList ID="rdoQualityLevels" name="rq" runat="server" RepeatDirection="Horizontal">
                                    <asp:ListItem Text="第一质量层次" Value="0" Selected="True"></asp:ListItem>
                                    <asp:ListItem Text="第二质量层次" Value="1"></asp:ListItem>
                                    <asp:ListItem Text="第三质量层次" Value="2"></asp:ListItem>
                                    <asp:ListItem Text="第四质量层次" Value="3"></asp:ListItem> 
                                </asp:RadioButtonList>
                              
                                <div style="text-align:left"><asp:Label ID="lableshow" runat="server" Text=""  ></asp:Label></div>
                            </td>
                        </tr>
                        <tr>
                            <td class="td_left_20">
                                质量层次说明：
                            </td>
                            <td class="td_right_80">
                                <asp:TextBox ID="txtMemo5" runat="server" Height="86px" TextMode="MultiLine" Width="90%"
                                    InvertedComma="药品质量层次说明" NotNull="药品质量层次说明"></asp:TextBox>
                                <span style="color: #ff0000">(*)</span>
                                <br />
                                <span style="color: #ff0033">（是GMP填写GMP证号，专利药品、原研药品、单独定价药品、优质优价中成药注明出处和编号。）</span>
                            </td>
                        </tr>
                    </table>
                    </td>
                </tr>
                <tr>
                    <td class="td_left_20">
                        商品说明：
                     
                        <asp:HiddenField ID="txtGoodsId" runat="server" />
                        <asp:HiddenField ID="txtaccountid_trj" runat="server" />
                    </td>
                    <td class="td_right_80" colspan="3" title="重点填写本商品和其他商品不同之处">
                        <asp:TextBox ID="txtGoodsInstruction" runat="server" Height="128px" TextMode="MultiLine"
                            Width="90%" InvertedComma="商品说明"></asp:TextBox>
                    </td>
                </tr>
                <%--<tr>
                <td class="td_left_20">
                    审核说明：
                </td>
                <td class="td_right_80" colspan="3">
                    <asp:TextBox ID="txtsh_discrible" runat="server" Height="128px" ReadOnly="True" TextMode="MultiLine"
                        Width="90%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="td_left_20">
                    <asp:Label ID="labNoPass1" runat="server" Text="审核不通过原因："></asp:Label>
                </td>
                <td class="td_right_80" colspan="3">
                    <asp:Label ID="labNoPass" runat="server" Text=""></asp:Label>
                </td>
            </tr>--%>
                <tr>
                    <td class="td_right_80" colspan="4">
                        <table border="0">
                            <tr>
                                <td style="width: 25%">
                                    <asp:CheckBox ID="CheckBox1" runat="server" ForeColor="Red" Text="缺失注册批件" />
                                </td>
                                <td style="width: 25%">
                                    <asp:CheckBox ID="CheckBox2" runat="server" ForeColor="Red" Text="批准文号已过期" />
                                </td>
                                <td style="width: 25%">
                                    <asp:CheckBox ID="CheckZhiLiangCX" runat="server" ForeColor="Red" 
                                        Text="缺失物价证明文件" />
                                </td>
                                <td style="width: 25%">
                                    <asp:CheckBox ID="CheckYaoPinJYBG" runat="server" ForeColor="Red" 
                                        Text="物价证明文件已过期" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="CheckYaoPinYXQ" runat="server" ForeColor="Red" 
                                        Text="缺失质量层次证明文件" />
                                </td>
                                <td>
                                    <asp:CheckBox ID="CheckBox3" runat="server" ForeColor="Red" Text="缺失商品说明书" />
                                </td>
                                <td>
                                    <asp:CheckBox ID="CheckBox4" runat="server" ForeColor="Red" Text="缺失检验报告单" />
                                </td>
                                <td>
                                    <asp:CheckBox ID="CheckBoxRegister" runat="server" ForeColor="Red" 
                                        Text="需提交注册批件或注册证" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="CheckBox6" runat="server" ForeColor="Red" Text="检验报告已过期" />
                                </td>
                                <td>
                                    <asp:CheckBox ID="Checkwjd" runat="server" ForeColor="Red" Text="需提交云南省物价单" />
                                </td>
                                <td>
                                    <asp:CheckBox ID="CheckJYBG" runat="server" ForeColor="Red" 
                                        Text="需提交09年最新检验报告" />
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td colspan="3">
                                    <asp:CheckBox ID="CheckBoxNotall" runat="server" ForeColor="Red" 
                                        Text="商品资料不全，请按”内部信息“栏目所列《资质预审资料要求》将商品资料装订成册，速递交至中心企管部。" />
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4">
                                    <asp:Label ID="LabelNopass" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    其他原因： 
                                </td>
                                <td colspan="3">
                                    <asp:TextBox ID="TxtNopass" runat="server" Height="57px" TextMode="MultiLine" 
                                        Width="90%"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="td_center" colspan="4">
                        <%--<asp:TextBox ID="txtImgUrl" runat="server" Visible="false"></asp:TextBox>--%>
                        <%--<asp:TextBox ID="txtImgUrl" runat="server" Visible="false"></asp:TextBox>--%>
                        <asp:Button ID="BtnSave" runat="server" CssClass="button_80" 
                            OnClick="BtnSave_Click" OnClientClick="javascript:return CheckForm()" 
                            Text="审核通过" ToolTip="审核通过并保存录入信息" />
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="BtnSave0" runat="server" CssClass="button_80" 
                            
                            Text="审核不通过" ToolTip="审核不通过" onclick="BtnSave0_Click" />
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="BtnSave1" runat="server" CssClass="button_80" 
                              OnClientClick="javascript:return CheckForm()" 
                            Text="纸质材料一致" ToolTip="纸质材料一致待专家审核" onclick="BtnSave1_Click" />
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="BtnSave2" runat="server" CssClass="button_80" 
                            Text="未审核" ToolTip="初始为未审核" onclick="BtnSave2_Click" />
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="BtnCancel" runat="server" CssClass="button_80" 
                            OnClick="BtnCancel_Click" Text="关  闭" />
                        <%--<asp:Button ID="BtnTJ" runat="server" Text="提  交" CssClass="button_80" OnClick="Button1_Click" />
                    <asp:Label ID="LBTJ" runat="server" Text="（确认填报完成后，单击提交，然后招标中心就可以对你的信息进行审核了。）"></asp:Label>--%>
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </div>
    </form>
</body>
</html>
